package com.maimao.model.user.enums;

import lombok.Getter;

/**
 * @author MaoLin Wang
 * @date 2021/4/24 下午3:09
 */
@Getter
public enum ShopStatus {
    NOT_OPEN(0,"未开店"),
    OPEN(1,"开店"),
    APPLYING(2,"申请中"),
    FREEZE(3,"冻结中"),
    CLOSE(4,"关闭"),
    FAIL(5,"审核驳回"),
    ;
    //0 未开店 1 正常开店 2 申请中 3 冻结中 4 关闭 5 驳回

    private int code;

    private String msg;

    ShopStatus(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
